﻿use ibba_risco
go
IF object_id('dbo.srcp_consultar_base_calculo_risco') is not null
BEGIN
	print 'dropping dbo.srcp_consultar_base_calculo_risco'
	DROP  Procedure  dbo.srcp_consultar_base_calculo_risco
END
print 'creating dbo.srcp_consultar_base_calculo_risco'
GO
CREATE Procedure dbo.srcp_consultar_base_calculo_risco
AS

	select
			 CD_BASE_CALCULO
			,DS_BASE_CALCULO
			
	from	dbo.src_base_calculo_risco with(nolock)
	
	
GO

GRANT EXEC ON dbo.srcp_consultar_base_calculo_risco TO mainuser, viewuser
GO

  